/* JORGE FERNANDO GOMEZ
 * 1259371
 * 189631
 * LEC A1
 * MARTIN MÜLLER
 * D02
 * YANG LIU
 */
#ifndef DRAW1B_H 
#define DRAW1B_H


/* Maximum characters in a string */
#define MAXLEN 256
//#define MAXLINES 128


/* Stores a complete line and (x, y) coordinate values */
typedef struct {
    char lineString[MAXLEN+1];
    double x1, y1, x2, y2;
} Line;

extern char * myKeywords[];
extern char * myComments[];

/* Will read and store the lines of an input file on Line struct. */
int readInput (FILE * inputFile, Line * Lines, long * inputFileLength);
int processLines (Line * Lines, int inputFileLength);
int decideAction (const char * lineString, char firstCharInStr, int currentLine);
void chompim (char * lineString);



#endif
